﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DianDian.API.Request
{
    public class UserHomeRequest : APIRequest<APIResponse<Domain.Post>>
    {
        public string Type { get; set; }


        public UserHomeRequest()
        {
            this.Path = "https://api.diandian.com/v1/user/home";
        }
        public override IDictionary<string, string> GetParameters()
        {
            IDictionary<string, string> parameters = new Dictionary<string, string>();
            parameters.Add("type", Type);
            return parameters;
        }
    }
}
